package com.xmy.cultivate.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 邀约详情
 * </p>
 *
 * @author hpiggy
 * @since 2024-08-22
 */
@Data
@TableName("enroll_invite_detail")
@ApiModel(value = "EnrollInviteDetail对象", description = "邀约详情")
public class EnrollInviteDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty("customer表id")
    private Long customerId;

    private Long schoolId;

    @ApiModelProperty("科目")
    private Long subjectsId;

    @ApiModelProperty("年级")
    private Integer yearClassId;

    @ApiModelProperty("邀约时间")
    private LocalTime inviteTime;

    @ApiModelProperty("邀约日期")
    private LocalDate inviteDate;

    @ApiModelProperty("邀约日期时间")
    private LocalDateTime inviteDateTime;

    @ApiModelProperty("周几上课，如周一：1,周二：2,周三：3,周四：4,周五：5,周六：6,周日：0")
    private Integer weekDates;

    private Integer status;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdAt;

    @TableField(fill = FieldFill.INSERT)
    private Long createdId;

    @TableField(exist = false)
    private String schoolName;

    @TableField(exist = false)
    private String phone;

    @TableField(exist = false)
    private String subjectsName;
    /**
     * 是否有上课记录 0否 1是
     */
    @TableField(exist = false)
    private Integer isHaveCourse;

    /**
     * 邀约总人数
     */
    @TableField(exist = false)
    private Integer inviteCount;

    /**
     * 已到人数
     */
    @TableField(exist = false)
    private Integer siginCount;

    /**
     * 教师名称
     */
    @TableField(exist = false)
    private String staffName;

    /**
     * 顾客名称
     */
    @TableField(exist = false)
    private String customerName;

    /**
     * 战队名称
     */
    @TableField(exist = false)
    private String teamName;

    /**
     * 战队id
     */
    @TableField(exist = false)
    private String teamId;

    /**
     * 战队pid
     */
    @TableField(exist = false)
    private String teamPid;

    /**
     * 是否试听签到，0否，1是
     */
    private Integer isSigin;


}
